/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bookingsystem;

/**
 *
 * @author admin
 */
public class Reservation implements java.io.Serializable{
    private String name;
    private String lastName;
    private String origin;
    private String destination;
    private String date;
    private String time;
    private String status;
    private String bookingDate;
    private int flightNo;
    private String reservationId;
    
    public Reservation(String reservationId, int flightNo, String name, String lastName, String origin, String destination, String date, String time, String bookingDate, String status){
        this.flightNo = flightNo;
        this.name = name;
        this.lastName = lastName;
        this.origin = origin;
        this.destination = destination;
        this.date = date;
        this.time = time;
        this.bookingDate = bookingDate;
        this.reservationId = reservationId;
        this.status = status;
    }
    
    public String getReservationId() {
        return reservationId;
    }

    public String getBookingDate() {
        return bookingDate;
    }

    public String getDate() {
        return date;
    }

    public String getDestination() {
        return destination;
    }

    public int getFlightNo() {
        return flightNo;
    }

    public String getLastName() {
        return lastName;
    }

    public String getName() {
        return name;
    }

    public String getOrigin() {
        return origin;
    }

    public String getStatus() {
        return status;
    }

    public String getTime() {
        return time;
    }
    
}
